
<div nz-row [nzGutter]="8">
  <div nz-col [nzSpan]="4">
    <nz-card style="height: 100%;">
      <nz-tree
      nzShowLine
      [nzData]="nodes"
      (nzClick)="nzEvent($event)"
      (nzExpandChange)="nzEvent($event)"
    >
    </nz-tree>
    </nz-card>
  </div>
  <div nz-col [nzSpan]="20">
    <nz-card [nzTitle]="title">
    <sf #sf mode="search" [schema]="searchSchema"  (formSubmit)="query($event)" (formReset)="reset($event)" autocomplete="off"></sf>
    <!-- <st #st [data]="dataset"  [columns]="columns" [page]="stpage"  [pi]="stchange.pi"  [ps]="stchange.ps" [total]="stchange.total" (change)="pageChange($event)" >
      <ng-template #selectkuang st-row="custom" let-item let-index="index" let-column="column">
          <nz-switch [ngModel]="item.STATE===1" nzCheckedChildren="已授权" nzUnCheckedChildren="未授权" (ngModelChange)="changeState(item)" ></nz-switch>
      </ng-template>
    </st> -->
    <lb-grid #st [columns]="columns" [sname]="params.sname" [queryparas]="params.form">
      <ng-template #selectkuang lb-row="custom" let-item let-index="index" let-column="column">
        <nz-switch [ngModel]="item.STATE===1" nzCheckedChildren="已授权" nzUnCheckedChildren="未授权" (ngModelChange)="changeState(item)" ></nz-switch>
    </ng-template>
    </lb-grid>
    </nz-card>
  </div>  
  </div>